package com.nzd.slsharing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nzd.slsharing.pojo.Comment;
import com.nzd.slsharing.pojo.LifeSharing;


public interface CommentService extends IService<Comment> {

    /**
     * 分页获取所有评论（带条件）
     */
    IPage<Comment> getUsersLifeSharingS(Page<Comment> pageParam, String name);

    /**
     * 分页获取所有评论（不带条件）
     */
    IPage<Comment> getUsersLifeSharingS(Page<Comment> pageParam);
}
